package cn.wcy.design_patterns.test.Controller.demo2.test1;

import java.time.YearMonth;

/**
 * Description:
 *
 * @author wcy
 * @version 1.0
 * @date 2024/6/15 下午4:46
 */
public class Budget {
    private YearMonth month;
    private long amount;

    public Budget(long amount, YearMonth month) {
        this.amount = amount;
        this.month = month;
    }

    public long getAmount() {
        return amount;
    }

    public YearMonth getMonth() {
        return month;
    }
}
